

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
<script type="text/javascript" src="helpman_topicinit.js"></script>

<title>User-Defined Section Numbering [Enterprise Architect User Guide]</title>

<meta name="keywords" content="Enterprise Architect, Sparx Systems, UML, Numbered Sections,Numbered Sections In RTF Reports,Section Numbering,Section Numbering In RTF Reports,Numbering List,Numbering List RTF Reports,Numbering Levels,Numbering Levels RTF Reports,Numbering Levels Use,Numbering Levels Apply,RTF,RTF Numbered Sections,RTF Numbering List,RTF Numbering Levels,RTF Section Numbering,RTF List Overrides,List Overrides,List Overrides RTF Reports">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />

<link type="text/css" href="default.css" rel="stylesheet" />
<style type="text/css">
  A, A:Visited
  {
    color: #00F;
  }

  A:Active, A:Hover
  {
    color: #F00;
  }

  OL
  {
    margin: 5px 0 5px 48px;
  }

  UL
  {
    margin-bottom: 3px;
    margin-top: 0;
  }

  #nsr
  {
    background-color: #D4DFFF;
  }

  #nsr A
  {
    text-decoration: none;
  }

  #mainbody
  {
    padding: 8px;
  }

  .p_BodyText
  {
    padding: 5px 0;
  }
</style>



<style type="text/css" media="screen">
  BODY
  {
    background-color: #FFFFFF;
  }

  #nsr
  {
    padding: 6px 6px 0 6px;
    border-bottom: none;
    vertical-align: top;
    z-index: 2;
    visibility: visible;
    left: 0;
    top: 0;
    position: absolute;
  }

  #mainbody
  {
    left: 0;
    top: 0;
    margin: 0;
    position: absolute;
    padding: 10px;
    overflow: auto;
    height: 100%;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: bottom right;
    background-attachment: fixed;
  }
</style>

<style type="text/css" media="print">
  #nsr
  {
    visibility: none;
  }

  #mainbody
  {
    overflow: visible;
  }
</style>
<script type="text/javascript" language="JavaScript" src="nonscroll.js"></script>

</head>
<body scroll="no">

<div id="page">



        <div id="content">
          <div id="content-inner">
          



  
          <div id="nsr">
            <table border="0" cellspacing="0" cellpadding="4" width="100%">
              <tr valign="top">
                <td align="left">
  


                  <p class="p_Heading1"><span class="f_Heading1">User-Defined Section Numbering</span></p>



  
                </td>
                <td align="right">
                  <a href="introduction.htm" onmouseover="document.images.main.src='button_main_h.gif'" onmouseout="document.images.main.src='button_main.gif'">
                    <img name="main" src="button_main.gif" border=0 alt="Return to Introduction">
                  </a>&nbsp;
    
                  <a href="stylesheetsandtableofconte.htm" onmouseover="document.images.prev.src='button_prev_h.gif'" onmouseout="document.images.prev.src='button_prev.gif'">
                    <img name=prev src="button_prev.gif" border=0 alt="Previous page" />
                  </a>&nbsp;
    
    
    
                  <a href="textpictureframeanddrawing.htm" onmouseover="document.images.next.src='button_next_h.gif'" onmouseout="document.images.next.src='button_next.gif'">
                    <img name=next src="button_next.gif" border=0 alt="Next page" />
                  </a>
    
    
                </td>
              </tr>
            </table>
          </div>
          <div id="mainbody">
  


                <p class="p_BodyText"><span class="f_BodyText">You might want to define the numbering format for the section levels in your generated RTF document.</span></p>
<p class="p_BodyText"><span class="f_BodyText">For example:</span></p>
<p class="p_Code"><span class="f_Code">1. Package level 1</span><br>
<span class="f_Code"> &nbsp; 1.1 Package level 2 (child package)</span><br>
<span class="f_Code"> &nbsp;&nbsp;&nbsp; 1.1.1 Element Level 1</span><br>
<span class="f_Code"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.1.1.1 Element (child element)</span><br>
<span class="f_Code">&nbsp;</span></p>
<p class="p_BodyText"><span class="f_BodyText">To define the numbering format you first create a numbering list and then create a set of list overrides for this list. The overrides must also have the initial 1.0.0 setting altered to 1.1.1. You can then apply the numbering list to the headings set for packages and elements, using paragraph numbering.</span></p>
<p class="p_SubHeadingL1"><span class="f_SubHeadingL1">Procedure</span></p>
<p class="p_BodyText"><span class="f_BodyText">To define the numbering format, follow the steps below.</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">In the </span><span class="f_UIControl">Template Editor</span><span class="f_NumberedList">, select the </span><span class="f_MenuKeyField">Edit | List and Overrides | Create List Item</span><span class="f_NumberedList"> menu option. The </span><span class="f_UIControl">List Properties</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="list%20properties%20dialog.png" width="259" height="136" border="0" alt="List Properties Dialog"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=2><span class="f_NumberedList">In the </span><span class="f_MenuKeyField">List Name</span><span class="f_NumberedList"> field, type a name for the list. Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to close the dialog.</span></li>
<li value=3><span class="f_NumberedList">Select the </span><span class="f_MenuKeyField">Edit | List and Overrides | Create List Override</span><span class="f_NumberedList"> menu option. The </span><span class="f_UIControl">List Override Properties</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="list%20override%20properties%20dialog.png" width="234" height="147" border="0" alt="List Override Properties dialog"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=4><span class="f_NumberedList">In the </span><span class="f_MenuKeyField">List to Override</span><span class="f_NumberedList"> field, type or select the name of the list you have just created. Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to close the dialog.</span></li>
<li value=5><span class="f_NumberedList">To set the list level properties for each level, select the </span><span class="f_MenuKeyField">Edit | List and Overrides | Edit List Level</span><span class="f_NumberedList"> menu option. The </span><span class="f_UIControl">List Level Properties</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="list%20level%20properties%20dialog.png" width="536" height="363" border="0" alt="List Level Properties dialog"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=6><span class="f_NumberedList">To set the first level numbering (used in the </span><span class="f_NumberedList" style="font-style: italic;">Package Section</span><span class="f_NumberedList">), select the </span><span class="f_MenuKeyField">List override</span><span class="f_NumberedList"> radio button and type or select the list override item you have just created.</span></li>
<li value=7><span class="f_NumberedList">Ensure that the </span><span class="f_MenuKeyField">List Level</span><span class="f_NumberedList"> field is set to </span><span class="f_MenuKeyField">1</span><span class="f_NumberedList"> (for Packages) and the </span><span class="f_MenuKeyField">Number text</span><span class="f_NumberedList"> field is set to </span><span class="f_MenuKeyField">~1~</span><span class="f_NumberedList">. Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to save the values and close the dialog.</span></li>
<li value=8><span class="f_NumberedList">Open the dialog again (</span><span class="f_MenuKeyField">Edit | List and Overrides | Edit List Level</span><span class="f_NumberedList">) and set:</span></li>
</ol>
<ul style="text-indent: 0px; margin-left: 65px; list-style-position: outside;">
<li><span class="f_MenuKeyField">List Level</span><span class="f_Bulletlist3"> to </span><span class="f_MenuKeyField">2</span><span class="f_Bulletlist3"> (for the </span><span class="f_Bulletlist3" style="font-style: italic;">Element Section</span><span class="f_Bulletlist3"> or </span><span class="f_Bulletlist3" style="font-style: italic;">Child Package Section, </span><span class="f_Bulletlist3">for example)</span></li>
<li><span class="f_MenuKeyField">Start at</span><span class="f_Bulletlist3"> to </span><span class="f_MenuKeyField">1</span><span class="f_Bulletlist3"> (to ensure that numbering at this level begins at 1.1 rather than 1.0).</span></li>
</ul>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=9><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to close the dialog and save the changes.</span></li>
<li value=10><span class="f_NumberedList">Repeat steps 5 to 9 as required, incrementing the list level number and resetting </span><span class="f_MenuKeyField">Start at</span><span class="f_NumberedList"> to </span><span class="f_MenuKeyField">1</span><span class="f_NumberedList"> each time.</span></li>
</ol>
<p class="p_SubHeadingL1"><a name="number"></a><span class="f_SubHeadingL1">Use Numbering Levels</span></p>
<p class="p_BodyText"><span class="f_BodyText">To apply the numbering levels, follow the steps below:</span></p>
<ol style="text-indent: 0px; margin-left: 48px; list-style-position: outside;">
<li value=1><span class="f_NumberedList">In the </span><span class="f_UIControl">Content</span><span class="f_NumberedList"> window of the </span><span class="f_UIControl">Template Editor</span><span class="f_NumberedList">, select the first item of text to be numbered (for example, </span><span class="f_NumberedList" style="font-style: italic;">Package</span><span class="f_NumberedList">).</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="numbering%20content.png" width="188" height="141" border="0" alt="Numbering Content"></li>
<li value=2><span class="f_NumberedList">Set the text style, using the style drop-down field in the </span><span class="f_UIControl">Template Editor</span><span class="f_NumberedList"> toolbar.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="numbering%20content%20font.png" width="253" height="40" border="0" alt="Numbering Content Font"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=3><span class="f_NumberedList">Click on the </span><span class="f_MenuKeyField">Paragraph | List Numbering</span><span class="f_NumberedList"> menu option. The </span><span class="f_UIControl">Apply paragraph numbering using Lists</span><span class="f_NumberedList"> dialog displays.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="apply%20paragraph%20numbering%20dialog.png" width="285" height="251" border="0" alt="Apply paragraph Numbering dialog"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=4><span class="f_NumberedList">Select the required Numbering List and Override, and set the </span><span class="f_MenuKeyField">Level</span><span class="f_NumberedList"> field to the required level (</span><span class="f_MenuKeyField">1</span><span class="f_NumberedList">, for the top level). Click on the </span><span class="f_MenuKeyField">OK</span><span class="f_NumberedList"> button to close the dialog, and check that the required level has been applied to the selected text.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="package%20rtf%20heading.png" width="286" height="38" border="0" alt="Package RTF Heading"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=5><span class="f_NumberedList">Repeat steps 1 to 4 for the next level (</span><span class="f_NumberedList" style="font-style: italic;">Element</span><span class="f_NumberedList">), but at step 4 change the </span><span class="f_MenuKeyField">Level</span><span class="f_NumberedList"> field to </span><span class="f_MenuKeyField">2</span><span class="f_NumberedList">.</span><br>
<span class="f_NumberedList">&nbsp;</span><br>
<img src="element%20rtf%20heading.png" width="294" height="37" border="0" alt="Element RTF Heading"><br>
<span class="f_NumberedList">&nbsp;</span></li>
<li value=6><span class="f_NumberedList">Continue applying the overrides for lower section levels as necessary, then save the template and generate your RTF report. The output should now resemble the following example:</span><br>
<img src="rtf%20output.png" width="450" height="365" border="0" alt="RTF Output"></li>
</ol>




            </div>
          </div>
        </div>



</div>


</body>
</html>
